package com.yong.android.framework.view.adapter;

import android.view.View;

/**
 * Description:
 * Created by Andy Hong on 3/8/2017.
 */

public class ViewHolder {
    public View itemView;

    public ViewHolder(View itemView) {
        this.itemView = itemView;
        bindView();
    }

    protected void bindView() {

    }

    @SuppressWarnings("unchecked")
    protected <T extends View> T findViewById(int id) {
        return (T) itemView.findViewById(id);
    }
}
